<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>无参数例子</title>
	</head>
	<body>
	</body>
	<script>
		function test(){
			console.log(arguments.length);
			//i 表示数据的下标
			for(i in arguments){
				console.log(arguments[i]);
			}
		}
		test(1,2,3,4);
	</script>
</html>
